/**
 * 维护用户ID自增长表
 */
// const mongoose = require('mongoose')
import mongoose from 'mongoose';
const counterSchema = mongoose.Schema({
    _id: String,
    sequence_value: Number
})

export default mongoose.model('counter', counterSchema, 'counter');